Camping (microframework)
Camping is a web application framework written in Ruby which consistently stays under 4kb - the complete source code can be viewed on a single page.
Initially written and updated by _why until version 1.5 (still available as a Ruby Gem), since his disappearance from the web. It is now maintained by the community. The latest version of Camping (2.1) is available from Github.
Overview
Camping stores a complete fledgling web application in a single file, like a bundle of many small CGI scripts, but organizes it as a model–view–controller application as Ruby on Rails does. Camping applications can stand alone, meet niche requirements as 'the small wheels' that serve larger setups, or easily be ported to Rails.
Installation
For a basic installation, Camping only requires Rack (0.3 or higher) and (if you want to write HTML) Markaby (0.5 or higher), both available as Rubygems. Further details can be found on the Camping wiki. To use a database (SQLite by default) you'll also need the ActiveRecord and Sqlite3-ruby Rubygems. Run camping yourappname.rb
to launch the application on port 3301.
Tutorials
The introductory tutorial builds a minimal unstyled wiki (download working example wiki code), and the Camping examples contains a tiny but fully functioning css-styled blog. Earlier Camping 1.5 examples will either run without modification or require only slight adjustments to run under Camping 2.0.
See also
External links
|
|
IDE |
|
|
Implementations |
|
|
Applications |
|
|
Libraries and frameworks |
|
|
Server software |
|
|
Other |
|
|
|
|